from sqlalchemy import Column, Integer, String
from models.base import db


class SentenceWord(db.Base):
    __tablename__ = 'sentence_word'
    id = Column(Integer, primary_key=True, autoincrement=True)
    order_number = Column(String(30), nullable=False)
    sentence_index = Column(Integer)
    path = Column(String(100), nullable=False)
    content = Column(String(2000), nullable=False)
    is_similar = Column(Integer, nullable=False, default=0)
    rate = Column(Integer, default=0)
    suggest = Column(String(2000), default='')
    check= Column(Integer, default=0)
